#include "Showcase.h"

CShowcase::CShowcase(STD_STRING strLocalPath) : CDisplay(strLocalPath)
{
	m_pDF = NULL;
}

CShowcase::~CShowcase()
{
}

void CShowcase::SetDataFactory(CDataFactory* pDF)
{
	GAF_ASSERT(pDF != NULL);

	m_pDF = pDF;

	UINT _nShowCount = 0;
	UINT _nBufferCount = 0;
	GetContent(_nShowCount, _nBufferCount);

	m_pDF->SetListener(this, _nShowCount, _nBufferCount);
}

CDataFactory* CShowcase::GetDataFactory()
{
	return m_pDF;
}
